﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations;
namespace Jemer.Domain.Entities
{
    //订单商品列表信息
    public class OrderListInfo
    {

        /// <summary>
        /// 主键标识
        /// </summary>
        [Key]
        [Required]
        [MaxLength(4)]
        public int OrderListID { get; set; }

        /// <summary>
        /// 订单编号
        /// </summary>

        [Required]
        [MaxLength(50)]
        public string OrderNO { get; set; }

        /// <summary>
        /// 产品编号
        /// </summary>

        [Required]
        [MaxLength(4)]
        public int ProductID { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>

        [Required]
        [MaxLength(50)]
        public string ProductName { get; set; }

        /// <summary>
        /// 产品单价
        /// </summary>

        [Required]
        [MaxLength(8)]
        public decimal UnitPrice { get; set; }

        /// <summary>
        /// 数量
        /// </summary>

        [Required]
        [MaxLength(4)]
        public int Quantity { get; set; }

        /// <summary>
        /// 折扣
        /// </summary>

        [Required]
        [MaxLength(9)]
        public decimal Discount { get; set; }

        /// <summary>
        /// 赠品名称
        /// </summary>

        [Required]
        [MaxLength(50)]
        public string GiftName { get; set; }

        /// <summary>
        /// Remark
        /// </summary>


        [MaxLength(200)]
        public string Remark { get; set; }


    }
}

